initialize delta to large negative