You don’t need to go wild, but the beans will grow out of the row more as there isn’t the space to grow into it, if that makes sense.
When I have done this, I leave a decent gap each side - say 30-40cm. It is also worth making sure you keep them well fed and watered, as they will be growing close together.