Detecting structural breaks using rectangle covering