refactor
insert value into appropriate leaf node