High-fidelity method for a single-step N -bit Toffoli gate in trapped ions