Restricting sample_perfect_tile?

Hi, depending on the values returned by sample_perfect_tile it can happen that the resulting tiles will not fit into on-chip memories. Is there a way to restrict the values to prevent this from happening?