Unroll loops in check_mv()