Swapped algs for A3 and A4