Get cluster size and use unique_ptrs
time measurement and update file structure