make nub depth modifiable at top level