Finding critical edges in schedules for re-entrant manufacturing machines