WIP: unroll loops