Works for 0 - 5 inclusive port sizes