eliminate left-over variable-size arrays