ifunc function

All intervals from one set to another