Optimisation and simplification
More memory, but less calculations