Another problem with IPG algorithm