limit the maximum nesting depth #70 #67