prevent artifacts on circles and ellipses

change floor pi to ceil pi to