Unrolled the innerContext loop further

Now loops through three at once instead of two at a time.