Mixed boundary conditions and brane, string bound states