random batch horizonal