single search algorithm for PCA rewritten