what is largest cam for 340 with factory 10.5 flattops????????

I'm running a Comp 225 cam 284/Dur and 507/lift with TRW 2316's and a .039 head gasket. No problems hitting. My block was crocked so the machine shop took .020 off the deck to straighten it up and the pistons are .035 out of the hole. Using X heads