const int xs, const int ys