https://raw.githubusercontent.com/agl/critbit/master/critbit.c
