Loading and compression of a single two-dimensional Bose gas in an optical accordion