Finalising bucket fill implementation.