add cross generator, fix a small implementation bug and update reference graphs