The same address is stored as two records in the customer_address table in Magento2

I need the billing address form in the shipping step. For that, I added the custom module, which is on that link.

For the registered customer, you are adding the same address twice in the customer_address_entity table while the shipping and billing addresses are the same.

help me solve