Pillar height dependent formation of unprecedented Pd8 molecular swing and Pd6 molecular boat via multicomponent self-assembly.