Be certain not to calculate length of assembly multiple times