Added Height fix to gap. Calculated height limit for block placement is
now one lower (attempt to fix off by one error?)