doubleArray.lookup() now returns *node instead of index of node
Remove unnecessary bit operation
Optimize NextSeparator()