Added ability to change the maximum number of binds from a compile-time define