work dir based on free space