added a pad option to recurrence features