force save result if k is larger than the size of the original array