comment compactar()