Use rep.int instead of rep_len (#77)