Engine rebuilt or swap

I'm using my 1964 904 push button trans with a 415 small block. No problems. We did change the input shaft and a few other pieces to update it. Jayson





I may be faced with either rebuilding my 273 in my 64 Valiant or buying a different engine. I want to keep the original factory push button transmission. My question is what is the largest engine that transmission can handle? 273 , 340 or 360 are my choices. I just do not want to go bigger if it is to much power for the standard transmission.