optimizing recommendations view with some time constraints