Effect of boundary on controlled memristor-based oscillator