memset size fix to calc current size of 400 bytes for discipline initialization