Changed defines into static const size_t for better scope and for
better coding practices.