Remember to set the max components to 1 if there are points