fixed horrible mistaken usage of GetHash to create partitions