removed wrong calculation of cirlce center