fix max size computation with thin pools (bnc#803981)
changelog entry