recursive depth spinbox implemented