Entropy MIPS rewrite