removed bugs in findBucket and normalizeTupleID, tests are passing now