alternative calculation for boxplot