Added a maximum amount of points to query at a time.