direct decoding of points