automaticaly set row points count