filter out max & min and take avg