sound distance fix, max volume wasn't calculated in