remove use of constant in favor of sizeof