Condition: it's current Konoha after chapter 700 where all of the K11 are adults and old characters like Hashiram, Hiruzen Minato are not in the village and also, Naruto and Sasuke would not be in the village and Madara can not summon Kurama.
Starting distance: Madara starts at the entrance...