range 0 water, fix treedir for realm types