This is the original figure refinement method from v0.27.0 of libsxbp, which works by growing figure from the start as required, making some intelligent decisions about how large to resize lines to when they collide (by 'looking' at the lines they collide with).