update time boxing logic, and add getBounds for chunks