first round global loop removal