map now work for 0 unroll loops