fixed x-dimension bug in hexgrid