Allow to modify the grid height

The logic to modify the grid height was already there. Just added a variable and removed the magic number.