improved varray per Naoki's suggestion: implemented EBCO