use buffer size during rendering