YouTube algorithm: Understanding and optimizing for higher rankings