Use a line merge threshold proportional to beachball size. Fixes issue #...

...35.