size_t is unsigned type. p.Y() < 0 is always false