propagate prototype change for readCube : use int mode instead of bool readIds, bool readParticles