Debugging the findSubspace method