fixed edge case scenario, added commented vectors to try different situations