Grillage optimization