Optimization in Factorio-type game

the Culling