added subsz and connz extended, and merged with varz