Efficiently saving trees: nested set model (MPTT)