Using generic virtual pocket, having virtual boundary, arbitrarily shaped