Measuring the size of the object