tried to get loop unrolled, kinda failed