Fix area order. Algorithm is direction sensitive