Rename HS_MAX_LINKS to HS_MAX_BATCHES