speed optimisation, now 1400+ fps for a 512 cell-dim, add diagram