i know i am 9 years late , but consider moving from x to (3x + 1)/2 if x is odd insted of moving to (3x +1) because 3x + 1 will always be even if x is odd like that you will do less steps