updated limit procedure to more precision