Structural stability of multiply twinned FePt nanoparticles