code: def get_point(cls, idx, size):
          
          x, y = cls.POSITION[idx % 4]
          idx //= 4
          block_size = 2
          while block_size < size:
              block_idx = idx % 4
              x, y = cls.get_point_in_block(x, y, block_idx, block_size)
              idx //= 4
              block_size *= 2
          return x, y
docs: Get curve point coordinates by index.
  
          Parameters
          ----------
          idx : `int`
              Point index.
          size : `int`
              Curve size.
  
          Returns
          -------
          (`int`, `int`)
              Point coordinates.