You can do this set up right at the shower drain, or at the dishwasher drain, and get a little more heat than at the waste invert.
Also, you if can do a heat pump exchange in the sewerpipe:
then you can heat a home with as little as 5' of sewer pipe.