offsetContourPoints method added