HEXAGON: Highly- specialized EXact Algorithms for Grid Operations at the National level