The circumference calculation logic is slightly incorrect, resulting in a shape that turns the right angles, but over the wrong distance.