remove SWAP4D() calls