Which .40 size engine?
Some of the LA 40's run rather decent but none of them have the power of even a modern .32 style engine. The engines mentioned so far are all very good but the Megatek .37 wasn't mentioned. It's identical to the MECOA .32 (which is Tiny) except it is a .37.
The LEO engines are utilized as the MECOA .32 and the Megatek .37. They are a OS .32 copy. They run good too.
If you have a gold fleece lined pocket book, you could get the OS .32SX but it doesn't run any better than any of the engines already mentioned.
There is also a MDS .38 which runs pretty good but sometimes the MDS engines are a lot of trouble for people. Mine have been great but I here the stories all the time.
You should buy one of the ones mentioned that is easy to get and that you get a good price on.
Good luck,
Jim