Stricter type checking in connect_2d_shapes