LOOM-MEMORY: removed extraneous 0 check