added Point constructor coordinates range check