adaptive for 1024 and 1336