nimit code implementation and fitbound working