circle detect in 2D output not proper