DCMPix: limit number of processors for multi-threading function