Speed up call_peak functions.