Fixed bug of intervalcover. To trans resource to use alg intervalcoverage.