Code optimization. There are no need Multifill.tmp and global variables.

Signed-off-by: pokidovea <pokidovea@gmail.com>