Changed ps-sim logging functionalities and have shape involved, too.