Resolve #505 "Memory leak in MASA spherical indexing structure use in encoding"
Related to #505 (closed).
Fix the memory leak in specific MASA encoding conditions by re-using the existing spherical grid structure.
Related to #505 (closed).
Fix the memory leak in specific MASA encoding conditions by re-using the existing spherical grid structure.