optimized next-pointers, halved time