use correct number of traces