part M does not apply to extensions or material alterations of dwellings see:
http://www.legislation.gov.uk/uksi/2010/2214/schedule/1/made
These are the requirements of the Building Regulations!
if you cap a drain it needs to be as close to the remaining live run as possible to prevent...