int getSizeFromId(int id, Schema schema) { return (id < schema.int8Count) ? 1 : (id < schema.int8Count + schema.int16Count) ? 2 : 4; }