[BUGFIX] negate maintance cost

maintance cost was added rather than subtracted which was wrong