Fixing dependencies in common, update two_intersections example