Merged mining patch