h5reader also works on continously allocated memory