added zero fill algorithm