When inserting many keys use this function, this is because apply for every key is very expensive on memory
Always remember to call apply after