Dental materials

During placement of dental amalgam, what is the main purpose of condensation?