updated crowding routine to account for new hardware