Arch: small fix in getShapeFromMesh