The design of the quarry interception and drainage ditch