Adds threads to boost