Double tolerance problem