Fix average calculation
Adjust good bound