I am writing a research paper in English. I am not sure whether the following sentence is correct or not:
This paper presents a clustering framework by iteratively performing two stages.
I feel (though cannot explain why) that the "by" part is awkward. I feel the following is more natural:
This paper presents a clustering framework performing two stages iteratively.
Can you give me an advice which one is better? Or is the first sentence all right?