Localization properties of pure magnetostatic modes in a cubic nanograin