Calculating a selection of area