Calculating the size of overmat