A LINEAR TIME ALGORITHM FOR THE KOOPMANS