build the array size from environment variable
add padding 8 bytes
Add samples for critical section and atomic.