Dimensional effects on current and field properties in NbN films