Calculating position size

Calculating position size