Optimize vexplib calls
Pre-calculate slices and keep them in memory, so that the texture is immediately available when changing a slice.
Pre-calculate slices and keep them in memory, so that the texture is immediately available when changing a slice.