rename expanddepth -> initdepth