The two limiter functions were very similar, and were unified in a single method, with a bool argument to choose method variety.