Optimizing pointer linked data structures door