The court may extend or shorten any period set by these rules for doing any act and may do so on terms.