[CLNUP] a bit of refactoring
[FEAT] minimal intersections - simple implementation