Properly add the new frame to the partition data structure (fortunatly this madness will disapper soon)