Fixed port creation algorithm