If the entire class wanted to take the same subway train, they would have to jam into a crowded compartment.

to wedge between
to squeeze
to block
to apply