If you had to I would think you could strip like a 3/4 inch off the battery leads. Solder the cap then use heat shrink to insulate the connection so it doesn't short out and leave enough wire exposed to solder to the esc. It would move the cap back some, still have a good connection.