Oops - bits parameter isn't actually used any more