Because the Stockport system was linked to the Manchester system, and that was linked to a number of others, it was in theory possible to travel by tram from Hazel Grove to the south of Stockport all the way to Seaforth Sands, to the north of Liverpool, a distance of some 51 miles .