similar: Only process every n images