improved logic

transaction are much smaller