removed resizable array with type descriptors. Now it is enough to
have only index over type descriptors