non-power-of-two resizing works with autoProxy
cleanup