use foreign pointers with arrays
alternative rollBlock, which uses rollN
some benchmarks
some minor optimization on data structures