How to adjust my grid placement system for collision groups?

I scripted a placement system class but I just noticed that all the parts will be snapped to the basepart based on how I scripted it. However, I want some items to be able to go on top of other ones and i was wondering if this can be done via collision groups, and if no what other methods can be used to accomplish this task?? please any assistance will be greatly appreciated