Refine pointer.go to minmal