Fix regionExpand with better algo