removed original representation of productions, now using 3d int array