fix calculation of lease expiration for small numbers (should start from a float)