+ broke tests for testing purposes
+ added max_log_map. Does not work yet