more work towards rao-teh sampling