Add BSGS for znlog