Clean: move MIN and MAX 'safe boundaries' to STRICT_CHECK flag.
Delete *_tmp variables Refactor zx1 refSOC to exclude conditions inside loop