Bugfix: skipped in-range AS values
Added libfuncs for better in-memory data handling 

Signed-off-by: nixnodes <code@nixnodes.net>