Implement range.contract()