restrict import to 2d shapes