Algorithms for operations with web