replace namedtuples by more obvious Points as pair of x,y