- build reference structs and use offsetof to get member variable offsets instead of summing up sizeof calls