Import bisect_func_right().
Various demo hacks