Extend space mask to all files and the 4th rank

bench: 7228779