removing size type template parameter from GridGraph, for consistency