That's certainly a tight fit.
Any idea what size flange is on the motor?

I think a 100mm flange motor would squeeze in, however I couldn't find any with the power I was aiming for, so opted for a 110mm motor, and spacing it up.