summary of calculating object's size