add subspace sampling to AM
issue