Choosing the bins in the χ2 test