motion_tracking: set resolution; simplify algo