Efficient topology estimation for large scale optical mapping