bin embedding to embed types