Modeling staircased wires using the FDTD method