Do you call ``array2d`` here to trigger errors before ``transform`` is called?