scale to num processors