Changed kMAxPeers method to use combinators
Refactoring