On fermion masses in a dimensional reduction scheme