mangled my codes...
fixed one problem, still have more
fixed dump_info
found where is wrong! It's 'read_coordinate'
no memory leak(but slower due to 'delete')