Printing every tenth step