improve and optimization find methods in Environment and AbstractEnviron...

@flopezag @jframos