bug fix: GFS_PEDRO for loops stating more than zero