Max Gop Size update(from 16 to 8)  and resolve some security issues -- Review Request #43