fixes chunk generator code for low y levels