finished simple overlap check, tested with simulated data