fix error for max value; add littleEndian mngt for writing
add trace to check type used while importing image
remove commented code
fix error on downcasting; enable selection by intervals in rebuildcc program
program for analyzing numbers' encoding whenever downcasting is used or not