with strided boolean shortcutting