Minimal overhead and fast binary genetic algorithm library