adjustments for spatial maxtreelevel for 2.0