implement check of total prog data size at start