alloc'ing the kz_buf
moving to kz_point structs