extract graycode, added random-basis point sets.