added the fast mode compression