Investigated it further. Seems pretty difficult to achieve the goal, if possible. For that reason, I closed the PR for the time being and any contributor is more than welcome to open it in the future.