Bug fixes to buffer impose().