Code refactoring, change min and max point size.