rename unrollLoops to UnrollPointers and move it