change value calculation algo 10 bits > 15bits