issue #765: added SLICE AQL function