finally, mask corrected and completely tested. sharp+round end work without oscillations