Traverse the Outlands

Traversée des Terres Extérieures (Traverse the Outlands) (fr)

Sorcery (CMC 5)
Search your library for up to X basic land cards, where X is the greatest power among creatures you control. Put those cards onto the battlefield tapped, then shuffle.