Fixed integration upper limit in get_norm