CDR: Re: Algorithm queston.