Reverting to Brad's more elegant solution for accurate limit, with a tweak of $all_limit for last check