populating LUT when looking for free nodes