When adding roof tracks to my camper shells I use prolineracks universal roof tracks. Have used them on 3 different shells and they haven't let me down. Not sure if they do custom lengths.
https://www.prolineracks.com/proline-roof-end-track-slats.html