Improve sloped area merging.