smallest multiple hacky but done