Updating filter main to migrate plane for loop outside of row and col to achieve more cache hits