Sentence:  Typically, you complete some design, some implementation, some testing, come up with some good ideas which you implement, and then <WSD>reverse-engineer</WSD> your implementation into an improved design. 
Meaning of the word marked with <WSD> tags:  To create or modify an implementation to better conform to a desired goal.