M2 grid gbf