Using scan to loop across differenet length of vectors

Thanks for the reply Ricardo.
Is it reasonable to use multiple scans while under the same hierarchical model?
I was thinking of using NaNs, but wasn’t sure it would work properly