fixes #8 shares that are less than 0 are 0