The inward solidification of spheres and circular cylinders