lazy initialize arrays and skip removed nodes