merge recent changed to computeLimit