prevent the selection of invalid point sets