Managing a numeric interval within a given bounds