If there remain but a few years until the year of jubilee, he shall calculate and pay for his redemption in proportion to his years of service.