replaced conflict finder algorithm with sweep line