Nilring of bounded degre