ASGARD-327 - changed algorithm to improve readability
ASGARD-327 - changed algorithm to improve readability

PicnicBasket/asgard,Eagles2F/asgard,rapid7/asgard,domix/asgard,jeffbrown/asgard,beamly/asgard,PicnicBasket/asgard,sensaid/asgard,jvasallo/asgard,edx/asgard,jon077/asgard,Eagles2F/asgard,edx/asgard,domix/asgard,jeffbrown/asgard,boomtrain/asgard,rudymccomb/asgard,rapid7/asgard,Eagles2F/asgard,tarzan0820/asgard,PicnicBasket/asgard,syllaibr64/asgard,sensaid/asgard,ccortezb/asgard,boomtrain/asgard,ccortezb/asgard,syllaibr64/asgard,jon077/asgard,jon077/asgard,domix/asgard,themucha/asgard,syllaibr64/asgard,themucha/asgard,themucha/asgard,tarzan0820/asgard,Netflix/asgard,Netflix/asgard,rudymccomb/asgard,boomtrain/asgard,sensaid/asgard,jvasallo/asgard,Netflix/asgard,ccortezb/asgard,rapid7/asgard,jvasallo/asgard,rudymccomb/asgard,edx/asgard,tarzan0820/asgard,beamly/asgard,beamly/asgard,jeffbrown/asgard