This is unproven, but maybe `freq ** 3` will have performance improvement over `lambda ** 5`?