Decode by adjacent classes table