Changed to work for 4096