Context-based model of minimal counterintuitiveness