public void spread( LinkedList<Sprite> path, Sprite fromPivot, Sprite toPivot, double length ) {
for( LineSegment line: contents.get( fromPivot ) ) {
Sprite otherPivot = ( line.pivot[ 0 ] == fromPivot ? line.pivot[ 1 ] : line.pivot[ 0 ] ) ;
double newLength = length + fromPivot.distanceTo( otherPivot );
if( newLength + otherPivot.distanceTo( toPivot ) > maxLength ) continue;
while( true ) {
if( lengthMap.containsKey( otherPivot ) ) {
if( lengthMap.get( otherPivot ) < newLength ) break;
}
LinkedList<Sprite> newPath = new LinkedList<Sprite>();