2 fix small range bug k > 2