add point method, auto calculate max