add two type of fastdict and tests. they are added in order to test if we can save more memory.