modified Point constructor