actually use the max num frags var