adding add check_all_size ( not finished)