fixed/simplify stroke geometry code