Hello, friend! Thanks for playing the game! Level 4 is easier than it looks like. You could try stacking everyone in one side and then separate the ones that are alone so the others can enter the pit.
Hello, friend! Indeed, as our fellow above commented, that's the way share a pit and sharing pits is something you're gonna have to do a lot. Thanks for playing!