YaST/libzypp can already evaluate the used space, we just need to pass the proposed partitioning schema from libstorage-ng to libzypp and then check the libzypp result (fits/out of space).