Security of quantum key distribution with iterative sifting. (17th October 2017)