added MIN_TAR_SIZE cludge as variable