fixed Buffer allocation in combination with iterators