extended = FALSE arg added to jg_check
jg_fix() added and internal function paste_blocks
started adding extend function