Moved to use nor-array for better performance