RE: feul tank mounting?
This may not be a fuel problem at all. An engine that runs fine on the ground and ½ way through a flight, then suddenly quits, is a classic example of an engine overheating. Is this engine in a cowled plane? If so, it may not be getting enough air flow through the cowl, leading to overheating. Just my 2¢, YMMV.
Paul