van Emde-Boas layout generalization
Pass opaque pointer to set_node; cleanups
Smarter math