implemented python cluster with HDF5 format