Barry Lyndon benefitted enormously from Kubrick's Napoleon research. The battles in that film didn't overwhelm the psychological study of Redmond Barry, a character that Kubrick said rose to the top because he was unknown in society, he could weasel his way up, something many many people do today, in obscurity.