Calculated the points in batch fashion.