Use LINK_ADDRESS_MAX instead of 1024.