update types of vertexId and vertexValue to byte

It's a strong assumption that vertexId is always integer and vertexValue is always string