Do I need small block or big block 727 for 5.7 swap??

Building 5.7 stroker for race car. Want to run a 727 torqueflight behind it, I'm told they will bolt up, but does it have to be a big block or small block 727??