compress the btree if possible