Implemented oprimization : replacing subtable with one leaf node by leaf nod at parent