making the PD cycle condition <= to <