How to force XBee3 to connnect only in mesh topology?

I have 5 nodes of Xbee3 want to connect them in mesh form, but always I try they connect with each other in star form. how do I force them for mesh topology?