Add threads to sspace and gapfiller