uses vectors to store sizes of patches
done