I need to also pass the nSize into toHash, and that should do it.