Code deals better with seams (not perfect).