Fixed bitwise odd number check, changed arguments to new_map function.