[PD] Finding zero crossing