init for Bentley-Ottmann algorithm