bitmap structure and type.h header for program portable
remove bugs and optimize bitmap structure