Improve rerendering algo and fix region seams
0.3.1