Two newton decompositions of staionary flows of KdV and Harry Dym hierarchies