simplify shapeSize of constant