make 7th rank masks const