add oct2point function.