save(lp): implemented scaling

Signed-off-by: Lev Nachmanson <levnach@microsoft.com>