private void addComponents() {
		for (Component component : componentAddBuffer) {
			if (!componentClassToId.containsKey(component.getClass())) {
				componentClassToId.put(component.getClass(),
						componentIdPool.requestId());
			}

			int entityId = component.getOwner().getId();
			int componentId = componentClassToId.get(component.getClass());
			Bag<Component> components = componentIdToComponents
					.get(componentId);
			if (components == null) {
				components = new Bag<Component>();
				componentIdToComponents.set(componentId, components);
			}

			components.set(entityId, component);
			component.getOwner().getComponentBits().set(componentId);
		}
	}