Fast (de)blocking algorithm

—> removed the use of cycle