determine size shape location