fix grid denominator
Merge pull request #37 from gengo/grid_fix

fix grid denominator
Travis build 159