SMS dit: Design of linear drainage systems