Brute force solution! Vectors is too slow!