finished implementation of assembly.allmaps.estimategaps()