Debug. change to subspaceSimilarityThreshold