Planar waveguide with "twisted" boundary conditions: Small width