normalize centerlines