Point detection working optimally