Rename HS_MAX_BATCHES to HS_MAX_LINKS