methyl amonia placement on the edge of cube of perovskite

i am using material studio to construct MAPbI pervoskite unit cell.pervoskite structure is already exist inside the library of material studio.but when i want to modify the structure and paste a methyl amona on the edge of cube.then software creates large no. of molecule rather then one molecule.how can i control it?please help me if any one know about it.