Universal quantum state preparation via revised greedy algorithm. (3rd September 2021)