Rehashing is working. Just need to write some sanity tests and stress tests thenit will be ready for submission