add minimal point2i class