optimize insertion of children

Change-Id: I2d827b4871490c44dc82bde53fa45fd595554d87
4 files changed