Lenovo Active Pen 2 Approximation Algorithm