uniform structures seems to be working. the performance is significantly better.