Just select the curve level and click 'go' button.
@Vissaeus for the code All I did was make it run without screen refresh.