Optimize by using sizeof on constants