[PLAT-5679] added code to build the YC HTS for the requested period