Lazy Model-based Learning Algorithm