MessageParser parses the piece index