Worst inflation in three years may have peaked