Absolutely no need to have lots of bolt sticking out past the nut, but you do want to make sure you have full engagement of the nut, and 1, maybe 2, of those nuts are pushing it.
Also, not a good idea to reuse U bolts anyways, they are torqued, stretched, and can get corroded very easily. But...