Encoding Pyramids by Labeling RAAM