Fixed discount calculation.
Fixed sharesize selection.