This is already done as much as possible by reordering and merging operations but transposition (explicit or implicit) is unavoidable for some operations.