Line split algorithm tests and pruning