Remote homology detection based on oligomer distances