Your CRF is a newer one I think, but I was told on the 2010 and older perimeter frames, that the 450 frame is wider inside than a 250 is. I am building a 2005 450crf now, and I am helping a guy in Italy who is building a 2005 250crf. He was coming up with different measurements for battery space. His is smaller than the 450 by quite q bit. ( Mine 330 x 2 For the 450CRF 2005 , I have ordered a battery 8.25 x 6.25 x 13" from Amorge, and I should get it any day now. I will let you know how it fits. I have ordered for this bike a 20S12P Molicel P42A, but a friend in almost the same space ordered a 20S13P Samsung 50S cells battery, and it fit his YZ250F2018. This gives him a 65AH. My 20S12P gives me 50AH
I have ordered a battery from Amorge, Amorge is good on price, good on pre-sale communication, but poor on after sale communication , and poor on Shipping info, (nothing).
Make a wooden practice battery and see if 330mm x 211mm x 161 fits. That should take 20S12p and or 20S13P. Their price to you is 1800 to 2000 installed in steel box and their air ship. 4 week right now. It was supposed to be only 2 weeks.