[IMPROVEMENT] Nesting lvl and memory usage changed