Refactoring of variable in the MaxCubeDiscover

Align with the refactoring of variables in MaxCubeDiscover to bring in line with code style & conventions.