added a check for key length for each vocab inserted into the bptree