Moved beach line stuff from Algorithm to BeachLine.