BUG: subject-wise optimization.