Use NUM_STRANDS in memory benchmark