Optimize the simulator by reusing the information about neighbours alive when calculating subsequent cells