CPD Now does some rectangle compression. It doesn't do the entire algorithm yet