WIP - added return int instead of boolean to return the distance to the intersection if exists