Added zero-level and avg vector length control