Set maxSize for primary in sharded cluster

I don’t want the primary node to fill up too quickly as it houses many unsharded collections with the sharded collections. Is there a way, similar to setting maxSize – to limit the maximum size of only the sharded collection data on the primary shard?