Implement the Chinese Remainder Theorem optimisation for speeding up