Support cso files with larger block sizes.

Calling them "frames" just to quell the confusion level in the code.
Merge pull request #7027 from unknownbrackets/cso-minor

Support cso files with larger block sizes