improve bubble size calculations. ref: #172