shorter interval map code
minor cleanup
reandmoized interval map tester