solver layers working with sum h and v