more informative error messages if too many or too few centerpoints are detected