Fill Coordinates from bee location

I want to make a datapack where you spawn 2 bees with and then get the position of the bees and use them as coordinates for a /fill command. I have made so only one bee of one type (corner1 and corner2) can exist at the same time and that there position gets saved into a storage. I saved there whole position in one storage and not the single x, y, z coordinates to different storages if it matters. Version: 1.21.4

Continue to help post