Add ring buffer for pointers.