correctly allocate memory for bounce objects