Small optimization for heallers core

Signed-off-by: Konctantin <gawrilyako@gmail.com>