Actually they do have different engine bay sizes, I believe two years ago a company for SEMA putted the V8 into the gen coupe and had to do a lot of modifications and ended up making it a a mid-engine car with the engine right behind the seats.
Image: