Add datastructure partly based on arrays. Add some more tests with timings.