`Brute force modified to became quicker - all references has
changed to const type&