Speed up mutation code