Lowest level of base terrain determines mountain generation in mapchunk Change some positional function arguments from int to s16