Clean algorithm section depending on #defines