replace magic number 2048 by const variable with clear name