Add size property to RectangleBody constructor