Finished source remapping and generation of patches