4 and 8kb, naive implementation