Extension of gb_trees module of Erlang OTP