How large does field_cube need to be really?
Current situation:
E.g., is the +1 needed for array_size? It seems not.