A fast current relaying algorithm for distribution systems based on discrete setting value