Currently `getNodeForKey` searches the list of nodes linearly. This could be done in `O(log(n))` time using a binary search.
Currently
getNodeForKeysearches the list of nodes linearly. This could be done inO(log(n))time using a binary search.