A fast fill algorithm for volume data using octree and adjacent-pair lists