The nonlinear temperature dependency of entropy change of the system during the heat transfer does not allow us to factor out the heat from the integral, and as a result, the solution to this integral is not straightforward in contrast to the one that we use the constant temperature of infinitely sized heat bath for calculating the surrounding entropy change.