Matching NLO QCD with parton shower in Monte Carlo scheme — the KrkNLO method