This version with exponential weightings isn't bad