[processing] updated freq analysis alg