add chamfer & resolution_scale