fix xspress3  support so that length of counts, energy are consistent
some fixes for Xspress3 handling