Remove uneeded variable in build_limit