Add equation compression processing