Using customized gauss method in GB computation.