dynminaclly alloc grid sdf memory success