Updated gl_helper with binsmoothing