Make sure to use the even-odd fill rule
Add the patterns and simplify the algo