Fixed bug for small centerlines