Contours Only Algorithm
Fix early return
Cleaning work enviroment after merge