How can I lump two units into the one unit?

If I can combine units, what happens if I lump a 60 strong unit with a 30 strong unit given that the unit size is 80 (e.g a hastati unit)?