check that range_abs's parameter is nonnegative
fix: load terrain in layers around the player