Cleanouts shall be installed at each change of direction of the building drain or horizontal waste or soil lines greater than 45 degrees (0.79 rad). Where more than one change of direction occurs in a run of piping, only one cleanout shall be required for each 40 feet (12.2 m) of developed length of the drainage piping.