Conway's Game of Life in AS3 with on-demand caching of 3x3 chunks