makeSize function