how to calculate bonus shares