The fusion of metal clusters in M5X4 compounds