Automatic design of lead-acid battery cover