smoother energy functions