Filter results of TIR sample instructions

Is there a way to limit the search space generated by sample_perfect_tile? For example, depending on the parameters, I already know that certain combinations will not fit into memory. I would like to filter this instead of it throwing an error message. Is there a way to do this?